﻿using appABM.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace AppABM.Models
{
    [Table("Inscripcion")]
    public class Inscripcion
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public long Id { get; set; }

        [Required]
        public virtual Alumno Alumno { get; set; }      //Relacion
        
        [Required]
        public virtual Materia Materia { get; set; }    //Relacion

        [Required]
        public double NotaParcial1 { get; set; }

        [Required]
        public double NotaParcial2 { get; set; }

    }
}